package com.lyy.dao;

import com.lyy.domain.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Repository
public interface IUserDao {

    UserInfo findByUsername(String username);

    void add(UserInfo userInfo);

    void updateLastLonginTime(@Param("lastLoginTime") long lastLoginTime, @Param("username") String username);
}
